<?php

namespace App\Trip\Weather;

class WeatherType
{
    const TYPES
        = [
            "晴"               => 1,
            "少云"             => 2,
            "晴间多云"         => 3,
            "多云"             => 2,
            "阴"               => 4,
            "有风"             => 5,
            "平静"             => 5,
            "微风"             => 5,
            "和风"             => 5,
            "清风"             => 5,
            "强风/劲风"        => 6,
            "疾风"             => 6,
            "大风"             => 6,
            "烈风"             => 6,
            "风暴"             => 7,
            "狂爆风"           => 7,
            "飓风"             => 7,
            "热带风暴"         => 7,
            "霾"               => 8,
            "中度霾"           => 8,
            "重度霾"           => 8,
            "严重霾"           => 8,
            "阵雨"             => 9,
            "雷阵雨"           => 10,
            "雷阵雨并伴有冰雹" => 10,
            "小雨"             => 11,
            "中雨"             => 11,
            "大雨"             => 12,
            "暴雨"             => 12,
            "大暴雨"           => 12,
            "特大暴雨"         => 13,
            "强阵雨"           => 13,
            "强雷阵雨"         => 13,
            "极端降雨"         => 13,
            "毛毛雨/细雨"      => 11,
            "雨"               => 11,
            "小雨-中雨"        => 11,
            "中雨-大雨"        => 12,
            "大雨-暴雨"        => 12,
            "暴雨-大暴雨"      => 13,
            "大暴雨-特大暴雨"  => 13,
            "雨雪天气"         => 14,
            "雨夹雪"           => 14,
            "阵雨夹雪"         => 14,
            "冻雨"             => 14,
            "雪"               => 15,
            "阵雪"             => 15,
            "小雪"             => 15,
            "中雪"             => 16,
            "大雪"             => 16,
            "暴雪"             => 17,
            "小雪-中雪"        => 15,
            "中雪-大雪"        => 16,
            "大雪-暴雪"        => 17,
            "浮尘"             => 8,
            "扬沙"             => 8,
            "沙尘暴"           => 7,
            "强沙尘暴"         => 7,
            "龙卷风"           => 7,
            "雾"               => 8,
            "浓雾"             => 8,
            "强浓雾"           => 8,
            "轻雾"             => 8,
            "大雾"             => 8,
            "特强浓雾"         => 8,
            "热"               => 1,
            "冷"               => 15,
            "未知"             => 0,
        ];
}